import request from '@/utils/request'

// 查询tb列表
export function listGuozhong(query) {
  return request({
    url: '/system/MMguozhong/list',
    method: 'get',
    params: query
  })
}

// 查询tb详细
export function getGuozhong(czbh) {
  return request({
    url: '/system/MMguozhong/' + czbh,
    method: 'get'
  })
}

// 新增tb
export function addGuozhong(data) {
  return request({
    url: '/system/MMguozhong',
    method: 'post',
    data: data
  })
}

// 修改tb
export function updateGuozhong(data) {
  return request({
    url: '/system/MMguozhong',
    method: 'put',
    data: data
  })
}

// 删除tb
export function delGuozhong(czbh) {
  return request({
    url: '/system/MMguozhong/' + czbh,
    method: 'delete'
  })
}
